home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1992 June: ROMin Holiday / ADC Developer CD (1992-06) (''ROMin Holiday'')_iso / Developer Connection - 06-1992.iso / Developer Essentials / DTS Sample Code / Macintosh Sample Code / SC.008.FracAppPalette / SCN.008.FracAppPalette < prev    next >
Encoding:
Text File  |  1989-04-22  |  1.2 KB  |  33 lines  |  [TEXT/MPS ]

  1. Macintosh
  2. Sample Code Notes
  3. _____________________________________________________________________________
  4.                                                   Developer Technical Support
  5.  
  6. #8:    FracAppPalette
  7.  
  8. Written by:    Bo3b Johnson
  9.  
  10. Versions:            1.00                        August 1988
  11.  
  12. Components:            MFracAppPalette.p            August 1, 1988
  13.                     UFracAppPalette.p            August 1, 1988
  14.                     UFracAppPalette.inc1.p        August 1, 1988
  15.                     FracAppPalette.r            August 1, 1988
  16.                     FracAppPalette.make            August 1, 1988
  17. _____________________________________________________________________________
  18.  
  19. This program requires MPW 2.0.2 and MacApp 1.1.1 to build.
  20. _____________________________________________________________________________
  21.  
  22. This version of FracApp uses the Palette Manager.  It demonstrates 
  23. a full-color palette which is used to display the Mandelbrot set.  
  24. FracAppPalette does not support color table animation, since the 
  25. integration of QuickDraw (i.e., _CopyBits) and the Palette Manager 
  26. is not yet full enough.
  27.  
  28. This version uses an off-screen gDevice with a port to handle the 
  29. data, using _CopyBits to draw into the window.  The palette is 
  30. automatically associated with each window.  The PICT files are 
  31. read and written using the bottlenecks (spooled) to save on memory 
  32. usage.
  33.